package com.tyk.bookstore.front.member.model.query;

import com.tyk.bookstore.front.member.model.enume.CenterUpdateType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tyk
 * @description MsgCodeCheckQuery
 */
@Data
public class MsgCodeCheckLoggedQuery {

    @Schema(description = "消息验证码凭证")
    @NotBlank
    private String codeCertificate;

    @Schema(description = "凭证[验证码]")
    @NotBlank
    private String certificate;

    @Schema(description = "修改类型[0手机号,1邮箱,2登录密码,3支付密码,4身份证号]")
    @NotNull
    private CenterUpdateType type;

}
